use icudt??{b,l}.dat depending on architecture
authorCarsten Schoenert <c.schoenert@t-online.de>
Sun, 27 Aug 2017 19:14:01 +0000 (21:14 +0200)
committerCarsten Schoenert <c.schoenert@t-online.de>
Tue, 4 Aug 2020 17:06:20 +0000 (18:06 +0100)
commitd1d1ab797d8d2e917debbd98312931cbb38179c0
treeafea5011aafa26c5ef0b97721080e2ba14e71a91
parent18636fb49faa4b2acc27196aa3c1180408ba81ac
use icudt??{b,l}.dat depending on architecture

Upstream doesn't really care about big endian platforms and so also don't
care about a needed file icudt??b.dat on big endian platforms. Changing
the m4 macro for ICU so the needed file will be depended on the build
platform exported and let later the configure run automatically use the
correct name for the ICU *.dat file so we not only depend on the
prebuild *.dat file for little endian.

The `case foo in ...` loop could be obviously more compressed with only
one case entry for all architectures which are all big endian.

---%<---
    case $host in
       dnl big endian architectures
       hppa-*|m68k-*|...)
--->%---

For more readability the more exclusive extra list of all possible
architectures with big endianness in Debian was choosen.

Gbp-Pq: Topic debian-hacks
Gbp-Pq: Name use-icudt-b-l-.dat-depending-on-architecture.patch
build/autoconf/icu.m4